package org.example.src.service;

import org.example.src.dto.request.FeedbackRequest;
import org.example.src.dto.response.FeedbackResponse;
import org.example.src.entity.Feedback;

import java.util.List;

public interface FeedbackService {
    List<Feedback> findAllFeedbacks();
    Feedback findFeedbackById(Long id);
    Feedback createFeedback(FeedbackRequest request);
    void deleteFeedback(Long id);
    List<Feedback> findFeedbacksByStudentId(Long studentId);
    List<Feedback> findFeedbacksByTeacherId(Long teacherId);
    List<Feedback> findFeedbacksByCompanyId(Long companyId);
    List<Feedback> findFeedbacksByFromUserId(Long userId);
    List<Feedback> findFeedbacksByToUserId(Long userId);
    List<FeedbackResponse> getFeedbacksByToUserId(Long userId);
}
